﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="myCJForm.aspx.cs" Inherits="myCJForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        body
        {
            margin: 0 auto;
            text-align:center;
            font-size: 12px;
        }
        table
        {
            border-collapse: collapse;
        }
        #divContainer
        {
        	margin: 0 auto;
            text-align:left;
            width: 770px;
        }
        .divTitle
        {
            height: 30px;
            line-height: 30px;
            vertical-align: middle;
        }
        .divTitle span
        {
            font-weight: bold;
        }
        ul
        {
            list-style: none;
            margin: 0px;
            padding: 0px;
        }
        ul li
        {
            display: inline;
        }
        .gvStyle, .gvStyle th, .gvStyle td
        {
            line-height: 19px;
            border: solid 1px black;
        }
        .gvStyle td table td
        {
            border: none;
        }
        a
        {
            color: Red;
        }
        a:visited
        {
            color: Red;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="divContainer">
        <div style="font-size:14px; line-height:40px;">
        <b>我的成绩单>></b>
        </div>
        <div id="divBrowse">
            <asp:GridView ID="gvCJ" runat="server" AutoGenerateColumns="False"
                Font-Size="12px" Width="100%" CssClass="gvStyle">
                <RowStyle HorizontalAlign="Center" />
                <Columns>
                    <asp:BoundField DataField="bjName" HeaderText="班级">
                        <HeaderStyle HorizontalAlign="Center" />
                        <ItemStyle Width="150px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="xsId" HeaderText="学号">
                        <HeaderStyle HorizontalAlign="Center" />
                        <ItemStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="xsName" HeaderText="姓名">
                        <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
                        <ItemStyle Width="55px"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField DataField="kmName" HeaderText="科目">
                        <HeaderStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:BoundField DataField="cj" HeaderText="分数">
                        <HeaderStyle HorizontalAlign="Center" />
                        <ItemStyle Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="date" HeaderText="日期">
                        <ItemStyle Width="80px" />
                        <HeaderStyle HorizontalAlign="Center" />
                        <ItemStyle Width="100px" />
                    </asp:BoundField>
                </Columns>
                <FooterStyle HorizontalAlign="Left" />
                <HeaderStyle HorizontalAlign="Center" />
            </asp:GridView>
        </div>
    </div>
    </form>
</body>
</html>
